
export default function(oparam){
    let _this=this;
    this.success=oparam.success;
    this.key=oparam.key;
    this.value=oparam.value;
    var testUri = "content://com.chinasie.vplus.context.SMOMContentProvider/context";
    var input = { contentUri: testUri, key: this.key, value: this.value };
    cordova.exec(function (obj) {
      var data = JSON.stringify(obj);
      _this.success(obj)
    }, function (e) {
      alert("Error: " + e);
    }, "ContentProviderPlugin", "update", [input]);
  }